package com.example.demo.service;

import com.example.demo.pojo.Coupon;

import java.util.List;

public interface CouponService {

    //通过优惠卷类型查询
    List<Coupon> selectByType(String type);

    int deleteByPrimaryKey(Integer couponid);

    int insert(Coupon record);

    int updateByPrimaryKeySelective(Coupon record);

    List<Coupon> getAll();

    Coupon selectByPrimaryKey(Integer couponid);
}
